package com.example.myapplication;

import android.app.Application;
import com.example.myapplication.db.room.dao.MyAppDatabase;


public class MyApplication extends Application {
    public static MyAppDatabase database;

    @Override
    public void onCreate() {
        super.onCreate();
//        FlowManager.init(this);
//        FlowManager.init(new FlowConfig.Builder(this)
//                .openDatabasesOnInit(true) .build());
//        FlowLog.setMinimumLoggingLevel(FlowLog.Level.V);
//        FlowManager.init(new FlowConfig.Builder(this).build());
//        FlowManager.init(new FlowConfig.Builder(this).build());

//        database = Room.databaseBuilder(getApplicationContext(),
//                MyAppDatabase.class, "calculationParameters").build();
        System.out.println("MyApplication 初始化");
//        MainActivity.setDatabase(database);


    }
}
